//
//  Config_string.h
//  ChunLaiZhuangClient
//
//  Created by zouzhisheng on 16/2/8.
//  Copyright © 2016年 CLZ. All rights reserved.
//

#ifndef Config_string_h
#define Config_string_h
//颜色

#define Color278fe5 [UIColor colorWithHexString:@"#278fe5"]  //蓝色风格
#define Color167bd2 [UIColor colorWithHexString:@"#167bd2"]  //点击后蓝色风格
#define Colorebebeb [UIColor colorWithHexString:@"#ebebeb"]  //页面背景
#define Colorffb301 [UIColor colorWithHexString:@"#ffb301"]  //桔色按钮
#define Colorf5f5f5 [UIColor colorWithHexString:@"#f5f5f5"]
#define Colora5a5a5 [UIColor colorWithHexString:@"#a5a5a5"] //编辑时的删除按钮
#define Coloreeeeee [UIColor colorWithHexString:@"#eeeeee"]
#define Color2b98f6 [UIColor colorWithHexString:@"#2b98f6"]
#define Colorff0000 [UIColor colorWithHexString:@"#ff0000"]
#define Colordcdcdc [UIColor colorWithHexString:@"#dcdcdc"]
#define Color2b98f6 [UIColor colorWithHexString:@"#4895ee"]  //通用按钮的背景颜色
#define Color0083f4 [UIColor colorWithHexString:@"#0083f4"]  //按钮高亮时候的颜色

#define Colorf0f1f5 [UIColor colorWithHexString:@"#f0f1f5"] //搜索框背景色
#define Colorbbbbbb [UIColor colorWithHexString:@"#bbbbbb"] //搜索框背景色

#define Colorf0f1f5 [UIColor colorWithHexString:@"#f0f1f5"]
#define Colorbfe0fc [UIColor colorWithHexString:@"#bfe0fc"] //患者聊天图片

#define Color444444 [UIColor colorWithHexString:@"#444444"]

#define Coloreff6600 [UIColor colorWithHexString:@"#ff6600"]


#define Colore5e5e5 [UIColor colorWithHexString:@"#e5e5e5"]
#define Color878787 [UIColor colorWithHexString:@"#878787"]
#define Colorcccccc [UIColor colorWithHexString:@"#cccccc"]
#define Color000000 [UIColor colorWithHexString:@"#000000"]
#define Color707070 [UIColor colorWithHexString:@"#707070"]
#define Colore8e8e8 [UIColor colorWithHexString:@"#e8e8e8"]
#define Colorf3f3f3 [UIColor colorWithHexString:@"#f3f3f3"]
#define Color8c8c8c [UIColor colorWithHexString:@"#8c8c8c"]
#define Colorf7f7f7 [UIColor colorWithHexString:@"#f7f7f7"]
#define Coloref0044 [UIColor colorWithHexString:@"#ef0044"]
#define Colorf0f1f5 [UIColor colorWithHexString:@"#f0f1f5"]
#define Colorf44679 [UIColor colorWithHexString:@"#f44679"]
#define Color5a87ca [UIColor colorWithHexString:@"#5a87ca"]
#define Colorf9f9f9 [UIColor colorWithHexString:@"#f9f9f9"]
#define Colorf8f8f8 [UIColor colorWithHexString:@"#f8f8f8"]
#define Color333333 [UIColor colorWithHexString:@"#333333"]
#define Colore50043 [UIColor colorWithHexString:@"#e50043"]
#define Colorebebeb [UIColor colorWithHexString:@"#ebebeb"]
#define Colord5d5d5 [UIColor colorWithHexString:@"#d5d5d5"]
#define Colord4d4d5 [UIColor colorWithHexString:@"#d4d4d5"]
#define Color666666 [UIColor colorWithHexString:@"#666666"]
#define Color43c118 [UIColor colorWithHexString:@"#43c118"]
#define ColorC20544 [UIColor colorWithHexString:@"#C20544"]
#define Colorc9c9c9 [UIColor colorWithHexString:@"#c9c9c9"]
#define Color313131 [UIColor colorWithHexString:@"#313131"]
#define ColorE60144 [UIColor colorWithHexString:@"#e60144"]
#define Color999999 [UIColor colorWithHexString:@"#999999"]
#define Colore1f2ff [UIColor colorWithHexString:@"#e1f2ff"]
#define Colorecd87c [UIColor colorWithHexString:@"#ecd87c"]
#define Colora08401 [UIColor colorWithHexString:@"#a08401"]
#define Color076a82 [UIColor colorWithHexString:@"#076a82"]
#define Color7bd7eb [UIColor colorWithHexString:@"#7bd7eb"]
#define NavigatorBarColor  [UIColor colorWithHexString:@"#288de5"]
#define Colorafafaf [UIColor colorWithHexString:@"#afafaf"]
#define LineColor  [UIColor colorWithHexString:@"#dbdbdb"]

//检测字符串为空
#define KCNSSTRING_ISEMPTY(str) (str == nil || [str isEqual:[NSNull null]] || str.length <= 0)
//检测字符串为空
#define NSCacheDirectory() [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) objectAtIndex:0]
#define IS_NOT_EMPTY(string) (string !=nil && ![string isKindOfClass:[NSNull class]] && ![@"" isEqualToString:string] && ![@"NULL" isEqualToString:string] && ![@"null" isEqualToString:string] && ![@"(null)" isEqualToString:string])

#define WS(weakSelf)  __weak __typeof(&*self)weakSelf = self;
//屏幕宽高
#define SCREEN_HEIGHT [[UIScreen mainScreen]bounds].size.height
#define SCREEN_WIDTH [[UIScreen mainScreen]bounds].size.width
#define kMainScreenFrameWitdh   (kMainScreenFrame.size.width)


#define isiPhone4               ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? \
CGSizeEqualToSize(CGSizeMake(640, 960), \
[[UIScreen mainScreen] currentMode].size) : \
NO)



















#endif /* Config_string_h */
